<template>
    <div class="box">
    <div class="background">
        <ul>
        <li v-for="test in paighangData" :key="test.memoryId">
            <onedata :all="test" :ranktype="ranktype"/>
        </li>
    </ul>
    </div>
</div>
</template>

<script>
import axios from "axios"
    import onedata from './onedata.vue'
     import {getmemory} from '../API/list'
export default {
    name:"memorypaihang",
    components:{
        onedata
    },
    data(){
        return{
           paighangData:[],
           ranktype:"memory"
        }
    },
    methods:{

    },
   async  mounted(){
        let res = await getmemory()
        console.log(res)
             this.paighangData=res.data.data.records

    },
   


}
</script>

<style>
    .box{
        display: flex;
    }
.background{
    justify-items: center;
    width: 100%;
    height: 90vh;
    overflow: scroll;

}
li{
    list-style:none;
    margin-top: 5px;
}
</style>>